package org.jlamp.server;

/**
 * @author zhangcs
 */
public class JlampStatus {

    /**
     * 加载标识，用于避免Agent重复加载
     */
    public static volatile boolean ALREADY_LOADED = false;

    /**
     * 是否已加载
     *
     * @return 返回是否已加载，已加载时返回true
     */
    public static boolean isAlreadyLoaded() {
        return ALREADY_LOADED;
    }

    /**
     * 加载，加载标识置为true
     */
    public static void load() {
        ALREADY_LOADED = true;
    }

}
